import request from '../utils/request' //引入axios的封装方法
import cfg from '@/config/config'

const loginApi = {
  // 查询访客预约记录
  valiLogin: param => {
    return request("post", cfg.apiUrl + "api/login/valiLogin", param);
  },
  //获取图片验证码
  getVerificationImg: () => {
    return request("get", cfg.apiUrl + "api/visitor/verification");
  },

};

export default loginApi;
